﻿<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>网站后台管理系统</title>
    <link href="@Url.Content("~/content/tenui/base.css")" rel="stylesheet" type="text/css" />
    <style type="text/css">
        * { margin:0; padding:0; font-size:12px }
        body {  }
        #header { height:30px;background-color: #a2bcd8;border-bottom:solid 1px #ddd; }
        #header #logo { float:left; font-size:22px; color:#fff;font-weight:bold;line-height:30px;padding-left:10px; font-family: "microsoft yahei", Arial, Sans-Serif,"微软雅黑","黑体" }
        #header #nav { float:right; line-height:30px; color:#666; padding: 0 10px 0 10px;}
        #header #nav a { color:#333; text-decoration:none;}
        #header #nav a:hover { color:#f60; text-decoration:underline;}
        #left { width:200px; background-color:#2c3d5a; border-right:solid 1px #ddd; vertical-align:top; padding: 4px 10px 0 10px }
        #menu { height:30px; background-color:#f5f5f5; }
        #mainMenu {list-style:none; margin:0; padding:0 }
        #mainMenu li { list-style:none; margin : 0 4px 0 0; float: left; line-height:25px; }
        #mainMenu li a { background-color:#f60; color:#fff; line-height:25px; display:block; text-decoration:none;font-size:14px; padding: 0 4px 0 4px; }
        #mainMenu li a:hover { background-color:#ddd; color:#333; }
        #subMenu { list-style:none; margin:0; padding:0; background-color:#fff; border:solid 1px #ddd }
        #subMenu li { height:25px }
        #subMenu li a { display:block; line-height:25px; text-decoration:none; text-align:center; color:#333;font-size:12px }
        #subMenu li a:hover { background-color:#488fce; color:#fff }
    </style>
    <script src="@Url.Content("~/Scripts/jquery-1.4.4.min.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/common.js")" type="text/javascript"></script>
    <script type="text/javascript">
        // 首页不允许被其他框架页加载
        if (top.location != self.location) top.location = self.location;
    </script>
</head>
<base target="content" />
<body>
<table style="width:100%;height:100%" cellpadding="0" cellspacing="0">
<tr>
    <td colspan="2" id="header">
        <div id="logo">
            聚存后台管理中心
        </div>
        <div id="nav">
            <span>欢迎你：@this.User.Identity.Name</span> |
            <a href="@Url.Action("Edit", "User", new { area = "Member" })">个人资料</a> | 
            <a href="@Url.Action("ChangePassword", "User", new { area = "Member" })">修改密码</a> |
            <a href="@Url.Action("Logout", "User", new { area = "Member" })">退出</a>
        </div>
    </td>
</tr>
<tr>
    <td id="left">@Html.Partial("Menu")</td>
    <td id="content"><iframe name="content" src="@Url.Action("Welcome", "Home", new { area = "Admin" })" style="width:100%;height:100%" frameborder="0"></iframe></td>
</tr>
</table>
</body>
</html>